3.14 \(\int (b \tan ^4(e+f x))^{3/2} \, dx\)

Optimal. Leaf size=110 \[ \frac{b \tan ^3(e+f x) \sqrt{b \tan ^4(e+f x)}}{5 f}-\frac{b \tan (e+f x) \sqrt{b \tan ^4(e+f x)}}{3 f}-b x \cot ^2(e+f x) \sqrt{b \tan ^4(e+f x)}+\frac{b \cot (e+f x) \sqrt{b \tan ^4(e+f x)}}{f} \]

[Out]

(b*Cot[e + f*x]*Sqrt[b*Tan[e + f*x]^4])/f - b*x*Cot[e + f*x]^2*Sqrt[b*Tan[e + f*x]^4] - (b*Tan[e + f*x]*Sqrt[b
*Tan[e + f*x]^4])/(3*f) + (b*Tan[e + f*x]^3*Sqrt[b*Tan[e + f*x]^4])/(5*f)

________________________________________________________________________________________

Rubi [A]  time = 0.0419221, antiderivative size = 110, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {3658, 3473, 8} \[ \frac{b \tan ^3(e+f x) \sqrt{b \tan ^4(e+f x)}}{5 f}-\frac{b \tan (e+f x) \sqrt{b \tan ^4(e+f x)}}{3 f}-b x \cot ^2(e+f x) \sqrt{b \tan ^4(e+f x)}+\frac{b \cot (e+f x) \sqrt{b \tan ^4(e+f x)}}{f} \]

Antiderivative was successfully verified.

[In]

Int[(b*Tan[e + f*x]^4)^(3/2),x]

[Out]

(b*Cot[e + f*x]*Sqrt[b*Tan[e + f*x]^4])/f - b*x*Cot[e + f*x]^2*Sqrt[b*Tan[e + f*x]^4] - (b*Tan[e + f*x]*Sqrt[b
*Tan[e + f*x]^4])/(3*f) + (b*Tan[e + f*x]^3*Sqrt[b*Tan[e + f*x]^4])/(5*f)

Rule 3658

Int[(u_.)*((b_.)*tan[(e_.) + (f_.)*(x_)]^(n_))^(p_), x_Symbol] :> With[{ff = FreeFactors[Tan[e + f*x], x]}, Di
st[((b*ff^n)^IntPart[p]*(b*Tan[e + f*x]^n)^FracPart[p])/(Tan[e + f*x]/ff)^(n*FracPart[p]), Int[ActivateTrig[u]
*(Tan[e + f*x]/ff)^(n*p), x], x]] /; FreeQ[{b, e, f, n, p}, x] &&  !IntegerQ[p] && IntegerQ[n] && (EqQ[u, 1] |
| MatchQ[u, ((d_.)*(trig_)[e + f*x])^(m_.) /; FreeQ[{d, m}, x] && MemberQ[{sin, cos, tan, cot, sec, csc}, trig
]])

Rule 3473

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(b*(b*Tan[c + d*x])^(n - 1))/(d*(n - 1)), x] - Dis
t[b^2, Int[(b*Tan[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin{align*} \int \left (b \tan ^4(e+f x)\right )^{3/2} \, dx &=\left (b \cot ^2(e+f x) \sqrt{b \tan ^4(e+f x)}\right ) \int \tan ^6(e+f x) \, dx\\ &=\frac{b \tan ^3(e+f x) \sqrt{b \tan ^4(e+f x)}}{5 f}-\left (b \cot ^2(e+f x) \sqrt{b \tan ^4(e+f x)}\right ) \int \tan ^4(e+f x) \, dx\\ &=-\frac{b \tan (e+f x) \sqrt{b \tan ^4(e+f x)}}{3 f}+\frac{b \tan ^3(e+f x) \sqrt{b \tan ^4(e+f x)}}{5 f}+\left (b \cot ^2(e+f x) \sqrt{b \tan ^4(e+f x)}\right ) \int \tan ^2(e+f x) \, dx\\ &=\frac{b \cot (e+f x) \sqrt{b \tan ^4(e+f x)}}{f}-\frac{b \tan (e+f x) \sqrt{b \tan ^4(e+f x)}}{3 f}+\frac{b \tan ^3(e+f x) \sqrt{b \tan ^4(e+f x)}}{5 f}-\left (b \cot ^2(e+f x) \sqrt{b \tan ^4(e+f x)}\right ) \int 1 \, dx\\ &=\frac{b \cot (e+f x) \sqrt{b \tan ^4(e+f x)}}{f}-b x \cot ^2(e+f x) \sqrt{b \tan ^4(e+f x)}-\frac{b \tan (e+f x) \sqrt{b \tan ^4(e+f x)}}{3 f}+\frac{b \tan ^3(e+f x) \sqrt{b \tan ^4(e+f x)}}{5 f}\\ \end{align*}

Mathematica [A]  time = 0.735057, size = 66, normalized size = 0.6 \[ \frac{\cot (e+f x) \left (b \tan ^4(e+f x)\right )^{3/2} \left (15 \cot ^4(e+f x)-5 \cot ^2(e+f x)-15 \tan ^{-1}(\tan (e+f x)) \cot ^5(e+f x)+3\right )}{15 f} \]

Antiderivative was successfully verified.

[In]

Integrate[(b*Tan[e + f*x]^4)^(3/2),x]

[Out]

(Cot[e + f*x]*(3 - 5*Cot[e + f*x]^2 + 15*Cot[e + f*x]^4 - 15*ArcTan[Tan[e + f*x]]*Cot[e + f*x]^5)*(b*Tan[e + f
*x]^4)^(3/2))/(15*f)

________________________________________________________________________________________

Maple [A]  time = 0.016, size = 64, normalized size = 0.6 \begin{align*} -{\frac{-3\, \left ( \tan \left ( fx+e \right ) \right ) ^{5}+5\, \left ( \tan \left ( fx+e \right ) \right ) ^{3}+15\,\arctan \left ( \tan \left ( fx+e \right ) \right ) -15\,\tan \left ( fx+e \right ) }{15\,f \left ( \tan \left ( fx+e \right ) \right ) ^{6}} \left ( b \left ( \tan \left ( fx+e \right ) \right ) ^{4} \right ) ^{{\frac{3}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*tan(f*x+e)^4)^(3/2),x)

[Out]

-1/15/f*(b*tan(f*x+e)^4)^(3/2)*(-3*tan(f*x+e)^5+5*tan(f*x+e)^3+15*arctan(tan(f*x+e))-15*tan(f*x+e))/tan(f*x+e)
^6

________________________________________________________________________________________

Maxima [A]  time = 1.57448, size = 72, normalized size = 0.65 \begin{align*} \frac{3 \, b^{\frac{3}{2}} \tan \left (f x + e\right )^{5} - 5 \, b^{\frac{3}{2}} \tan \left (f x + e\right )^{3} - 15 \,{\left (f x + e\right )} b^{\frac{3}{2}} + 15 \, b^{\frac{3}{2}} \tan \left (f x + e\right )}{15 \, f} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*tan(f*x+e)^4)^(3/2),x, algorithm="maxima")

[Out]

1/15*(3*b^(3/2)*tan(f*x + e)^5 - 5*b^(3/2)*tan(f*x + e)^3 - 15*(f*x + e)*b^(3/2) + 15*b^(3/2)*tan(f*x + e))/f

________________________________________________________________________________________

Fricas [A]  time = 2.45319, size = 163, normalized size = 1.48 \begin{align*} \frac{{\left (3 \, b \tan \left (f x + e\right )^{5} - 5 \, b \tan \left (f x + e\right )^{3} - 15 \, b f x + 15 \, b \tan \left (f x + e\right )\right )} \sqrt{b \tan \left (f x + e\right )^{4}}}{15 \, f \tan \left (f x + e\right )^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*tan(f*x+e)^4)^(3/2),x, algorithm="fricas")

[Out]

1/15*(3*b*tan(f*x + e)^5 - 5*b*tan(f*x + e)^3 - 15*b*f*x + 15*b*tan(f*x + e))*sqrt(b*tan(f*x + e)^4)/(f*tan(f*
x + e)^2)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b \tan ^{4}{\left (e + f x \right )}\right )^{\frac{3}{2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*tan(f*x+e)**4)**(3/2),x)

[Out]

Integral((b*tan(e + f*x)**4)**(3/2), x)

________________________________________________________________________________________

Giac [B]  time = 4.77166, size = 1457, normalized size = 13.25 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*tan(f*x+e)^4)^(3/2),x, algorithm="giac")

[Out]

1/60*(15*pi - 60*f*x*tan(f*x)^5*tan(e)^5 - 15*pi*sgn(2*tan(f*x)^2*tan(e) + 2*tan(f*x)*tan(e)^2 - 2*tan(f*x) -
2*tan(e))*tan(f*x)^5*tan(e)^5 - 15*pi*tan(f*x)^5*tan(e)^5 + 30*arctan((tan(f*x)*tan(e) - 1)/(tan(f*x) + tan(e)
))*tan(f*x)^5*tan(e)^5 + 30*arctan((tan(f*x) + tan(e))/(tan(f*x)*tan(e) - 1))*tan(f*x)^5*tan(e)^5 + 300*f*x*ta
n(f*x)^4*tan(e)^4 + 75*pi*sgn(2*tan(f*x)^2*tan(e) + 2*tan(f*x)*tan(e)^2 - 2*tan(f*x) - 2*tan(e))*tan(f*x)^4*ta
n(e)^4 + 75*pi*tan(f*x)^4*tan(e)^4 - 150*arctan((tan(f*x)*tan(e) - 1)/(tan(f*x) + tan(e)))*tan(f*x)^4*tan(e)^4
 - 150*arctan((tan(f*x) + tan(e))/(tan(f*x)*tan(e) - 1))*tan(f*x)^4*tan(e)^4 - 60*tan(f*x)^5*tan(e)^4 - 60*tan
(f*x)^4*tan(e)^5 - 600*f*x*tan(f*x)^3*tan(e)^3 - 150*pi*sgn(2*tan(f*x)^2*tan(e) + 2*tan(f*x)*tan(e)^2 - 2*tan(
f*x) - 2*tan(e))*tan(f*x)^3*tan(e)^3 + 20*tan(f*x)^5*tan(e)^2 - 150*pi*tan(f*x)^3*tan(e)^3 + 300*arctan((tan(f
*x)*tan(e) - 1)/(tan(f*x) + tan(e)))*tan(f*x)^3*tan(e)^3 + 300*arctan((tan(f*x) + tan(e))/(tan(f*x)*tan(e) - 1
))*tan(f*x)^3*tan(e)^3 + 300*tan(f*x)^4*tan(e)^3 + 300*tan(f*x)^3*tan(e)^4 + 20*tan(f*x)^2*tan(e)^5 + 600*f*x*
tan(f*x)^2*tan(e)^2 + 150*pi*sgn(2*tan(f*x)^2*tan(e) + 2*tan(f*x)*tan(e)^2 - 2*tan(f*x) - 2*tan(e))*tan(f*x)^2
*tan(e)^2 - 12*tan(f*x)^5 - 100*tan(f*x)^4*tan(e) + 150*pi*tan(f*x)^2*tan(e)^2 - 300*arctan((tan(f*x)*tan(e) -
 1)/(tan(f*x) + tan(e)))*tan(f*x)^2*tan(e)^2 - 300*arctan((tan(f*x) + tan(e))/(tan(f*x)*tan(e) - 1))*tan(f*x)^
2*tan(e)^2 - 600*tan(f*x)^3*tan(e)^2 - 600*tan(f*x)^2*tan(e)^3 - 100*tan(f*x)*tan(e)^4 - 12*tan(e)^5 - 300*f*x
*tan(f*x)*tan(e) - 75*pi*sgn(2*tan(f*x)^2*tan(e) + 2*tan(f*x)*tan(e)^2 - 2*tan(f*x) - 2*tan(e))*tan(f*x)*tan(e
) + 20*tan(f*x)^3 - 75*pi*tan(f*x)*tan(e) + 150*arctan((tan(f*x)*tan(e) - 1)/(tan(f*x) + tan(e)))*tan(f*x)*tan
(e) + 150*arctan((tan(f*x) + tan(e))/(tan(f*x)*tan(e) - 1))*tan(f*x)*tan(e) + 300*tan(f*x)^2*tan(e) + 300*tan(
f*x)*tan(e)^2 + 20*tan(e)^3 + 60*f*x + 15*pi*sgn(2*tan(f*x)^2*tan(e) + 2*tan(f*x)*tan(e)^2 - 2*tan(f*x) - 2*ta
n(e)) - 30*arctan((tan(f*x)*tan(e) - 1)/(tan(f*x) + tan(e))) - 30*arctan((tan(f*x) + tan(e))/(tan(f*x)*tan(e)
- 1)) - 60*tan(f*x) - 60*tan(e))*b^(3/2)/(f*tan(f*x)^5*tan(e)^5 - 5*f*tan(f*x)^4*tan(e)^4 + 10*f*tan(f*x)^3*ta
n(e)^3 - 10*f*tan(f*x)^2*tan(e)^2 + 5*f*tan(f*x)*tan(e) - f)